<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class LiveroomBanner extends Model
{
    protected $table = 'liveroom_banner';
    protected $guarded = [];

    public function channel()
    {
        return $this->belongsTo(Channel::class, 'link_id');
    }

    public function lecture()
    {
        return $this->belongsTo(Lecture::class, 'link_id');
    }

}
